package com.xhh.nphm.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
/**
 * @description: 智能问答配置实体类
 * @author: sun
 * @date: 2023-12-20 13:51
 * @version 1.0
 */
@TableName("tm_ai_answer")
public class AiAnswer implements Serializable {
    /**
    * 配置编号
    */
    @TableId(type = IdType.AUTO)
    @TableField(value = "pkId")
    private Integer pkId;

    /**
    * 用户编号
    */
    @TableField(value = "user_id")
    private Integer userId;

    /**
    * 用户姓名
    */
    @TableField(value = "user_name")
    private String userName;

    /**
    * 部门编号
    */
    @TableField(value = "dept_id")
    private Integer deptId;

    /**
    * 部门名称
    */
    @TableField(value = "dept_name")
    private String deptName;

    /**
    * 使用次数（默认0）
    */
    @TableField(value = "times")
    private Integer times = 0;

    /**
    * 开启配置（0开启 1关闭）
    */
    @TableField(value = "is_open")
    private Integer isOpen;

    /**
    * 操作时间
    */
    @TableField(value = "opt_time")
    private Date optTime;

    /**
    * 总次数
    */
    @TableField(value = "times_all")
    private Integer timesAll;

    /**
    * 每天可以使用多少次
    */
    @TableField(value = "times_day")
    private Integer timesDay;

    /**
    * 总使用次数
    */
    @TableField(value = "times_used")
    private Integer timesUsed;

    /**
     * 大模型总使用次数
     */
    @TableField(value = "nums_big")
    private Integer numsBig;

    public Integer getPkId() {
        return pkId;
    }

    public void setPkId(Integer pkId) {
        this.pkId = pkId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Integer getTimes() {
        return times;
    }

    public void setTimes(Integer times) {
        this.times = times;
    }

    public Integer getIsOpen() {
        return isOpen;
    }

    public void setIsOpen(Integer isOpen) {
        this.isOpen = isOpen;
    }

    public Date getOptTime() {
        return optTime;
    }

    public void setOptTime(Date optTime) {
        this.optTime = optTime;
    }


    public Integer getTimesAll() {
        return timesAll;
    }

    public void setTimesAll(Integer timesAll) {
        this.timesAll = timesAll;
    }

    public Integer getTimesDay() {
        return timesDay;
    }

    public void setTimesDay(Integer timesDay) {
        this.timesDay = timesDay;
    }

    public Integer getTimesUsed() {
        return timesUsed;
    }

    public void setTimesUsed(Integer timesUsed) {
        this.timesUsed = timesUsed;
    }

    public Integer getNumsBig() {
        return numsBig;
    }

    public void setNumsBig(Integer numsBig) {
        this.numsBig = numsBig;
    }
}